package 图形界面;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.CardLayout;
import javax.swing.JLabel;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.LayoutStyle.ComponentPlacement;
import java.awt.Color;
import javax.swing.JTextPane;
import java.awt.Font;

public class 登录界面 extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					登录界面 frame = new 登录界面();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public 登录界面() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(new CardLayout(0, 0));
		
		JPanel panel = new JPanel();
		panel.setForeground(new Color(255, 51, 0));
		panel.setBackground(new Color(0, 255, 255));
		
		JLabel lblNewLabel = new JLabel("工  号：");
		lblNewLabel.setForeground(new Color(51, 0, 0));
		lblNewLabel.setBackground(new Color(51, 255, 102));
		
		JLabel lblNewLabel_1 = new JLabel("密  码：");
		lblNewLabel_1.setForeground(new Color(204, 51, 51));
		
		JTextPane textPane = new JTextPane();
		
		JTextPane textPane_1 = new JTextPane();
		
		JButton btnNewButton = new JButton("登录有惊喜");
		btnNewButton.setForeground(new Color(255, 51, 0));
		btnNewButton.setBackground(new Color(0, 0, 0));
		
		JLabel lblNewLabel_2 = new JLabel("超");
		lblNewLabel_2.setForeground(new Color(204, 51, 102));
		lblNewLabel_2.setFont(new Font("微软雅黑", Font.PLAIN, 16));
		
		JLabel lblNewLabel_3 = new JLabel("市");
		lblNewLabel_3.setForeground(new Color(255, 0, 0));
		
		JLabel lblNewLabel_4 = new JLabel("积");
		lblNewLabel_4.setForeground(new Color(0, 153, 51));
		lblNewLabel_4.setFont(new Font("宋体", Font.PLAIN, 16));
		
		JLabel lblNewLabel_5 = new JLabel("分");
		lblNewLabel_5.setForeground(new Color(255, 0, 0));
		
		JLabel lblNewLabel_6 = new JLabel("系");
		lblNewLabel_6.setForeground(new Color(102, 0, 0));
		lblNewLabel_6.setFont(new Font("宋体", Font.PLAIN, 16));
		
		JLabel lblNewLabel_7 = new JLabel("统");
		lblNewLabel_7.setForeground(new Color(0, 0, 255));
		GroupLayout gl_panel = new GroupLayout(panel);
		gl_panel.setHorizontalGroup(
			gl_panel.createParallelGroup(Alignment.TRAILING)
				.addGroup(gl_panel.createSequentialGroup()
					.addGroup(gl_panel.createParallelGroup(Alignment.TRAILING)
						.addGroup(gl_panel.createSequentialGroup()
							.addGroup(gl_panel.createParallelGroup(Alignment.LEADING)
								.addGroup(gl_panel.createSequentialGroup()
									.addGap(76)
									.addGroup(gl_panel.createParallelGroup(Alignment.LEADING)
										.addComponent(lblNewLabel_1)
										.addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 48, GroupLayout.PREFERRED_SIZE))
									.addPreferredGap(ComponentPlacement.UNRELATED)
									.addGroup(gl_panel.createParallelGroup(Alignment.LEADING)
										.addComponent(textPane, GroupLayout.DEFAULT_SIZE, 107, Short.MAX_VALUE)
										.addComponent(textPane_1, GroupLayout.DEFAULT_SIZE, 107, Short.MAX_VALUE))
									.addGap(63))
								.addGroup(gl_panel.createSequentialGroup()
									.addGap(98)
									.addComponent(btnNewButton)
									.addGap(113)))
							.addPreferredGap(ComponentPlacement.RELATED)
							.addGroup(gl_panel.createParallelGroup(Alignment.TRAILING)
								.addGroup(gl_panel.createSequentialGroup()
									.addGroup(gl_panel.createParallelGroup(Alignment.LEADING)
										.addComponent(lblNewLabel_5)
										.addComponent(lblNewLabel_3)
										.addComponent(lblNewLabel_7))
									.addGap(25))
								.addComponent(lblNewLabel_4)
								.addComponent(lblNewLabel_6)))
						.addGroup(gl_panel.createSequentialGroup()
							.addContainerGap(325, Short.MAX_VALUE)
							.addComponent(lblNewLabel_2)))
					.addGap(83))
		);
		gl_panel.setVerticalGroup(
			gl_panel.createParallelGroup(Alignment.LEADING)
				.addGroup(gl_panel.createSequentialGroup()
					.addContainerGap()
					.addComponent(lblNewLabel_2)
					.addGap(10)
					.addGroup(gl_panel.createParallelGroup(Alignment.LEADING, false)
						.addComponent(lblNewLabel, GroupLayout.DEFAULT_SIZE, 19, Short.MAX_VALUE)
						.addGroup(gl_panel.createParallelGroup(Alignment.TRAILING, false)
							.addComponent(textPane, Alignment.LEADING, 0, 0, Short.MAX_VALUE)
							.addComponent(lblNewLabel_3, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 15, Short.MAX_VALUE)))
					.addPreferredGap(ComponentPlacement.UNRELATED)
					.addGroup(gl_panel.createParallelGroup(Alignment.LEADING)
						.addGroup(gl_panel.createSequentialGroup()
							.addGroup(gl_panel.createParallelGroup(Alignment.LEADING, false)
								.addComponent(textPane_1, 0, 0, Short.MAX_VALUE)
								.addComponent(lblNewLabel_1, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
							.addGap(58)
							.addComponent(btnNewButton))
						.addGroup(gl_panel.createSequentialGroup()
							.addComponent(lblNewLabel_4)
							.addGap(22)
							.addComponent(lblNewLabel_5)
							.addGap(11)
							.addComponent(lblNewLabel_6)))
					.addGap(5)
					.addComponent(lblNewLabel_7)
					.addContainerGap(64, Short.MAX_VALUE))
		);
		panel.setLayout(gl_panel);
		contentPane.add(panel, "name_4099138213600");
	}
}
